import wx
import time
from DataManager import DataManager
from SimplePanels import PanelTodo
from ControlTodoList import ControlTodoList
from ModelTodo import ModelTodo
from ViewBaseList import ViewBaseList
from SimpleDialogs import DialogAddItem

class ViewTodoList(ViewBaseList):
    """
    this is the view part of wish list window
    """
    
    EDIT_DEFAULT_VALUE = "Add new todo to the list and press enter"
    EDIT_MODE =  DialogAddItem.TODO_MODE
    
    def __init__(self, parent):
        ViewBaseList.__init__(self, parent)

    def get_model_class(self):
        return ModelTodo

    def get_model(self):
        return DataManager.todolist

    def get_control_class(self):
        return ControlTodoList

    def get_panel_class(self):
        return PanelTodo
